UML design pattern metamodel-level constraints for the maintenance of software evolution
نویسندگان
چکیده
Pattern-based design, the use of design pattern during the design process, has become widely used in the object-oriented community because of the reuse benefits. However, design pattern defects can be injected in design maintenance phase because the changes of pattern-based design require the conformance not only to the change requirements but also to the corresponding design patterns. This process for conforming to the corresponding design patterns is an extra work for a maintainer as compared to traditional design maintenance, and also requires deep knowledge of design patterns. It is, therefore, crucial to maintain correct designs during design maintenance because defects introduced in design evolution may cause serious damage to software systems in later software development and maintenance. Hence, there is a need of a systematic design method for preventing design pattern defects being injected during pattern-based design maintenance so that the change results of pattern-based designs still conform to the corresponding design patterns. Conventional Unified Modeling Language (UML) design methods do not provide systematic ways of assessing pattern-based design conformance. Pattern Instance Changes with UML Profiles (PICUP) design method is developed as an improved design method for perfective and corrective UML pattern-based design maintenance and assessment. Design Pattern in UML Profiles (DPUP) is developed for formal specification of a design pattern. DPUPs are used for instantiation, maintenance, and assessment of UML pattern-based designs. DPUPs, as the main part of PICUP design method, provide metamodel-level UML design constraints using UML stereotype notations and metamodel-level Object Constraint Language (OCL) design constraints. In this research, assessments of pattern-based designs in UML class diagram with the corresponding DPUPs enforce maintainers to make correct changes of the designs. Pattern-related information is annotated in pattern-based design using stereotype notations and helps to assess pattern-based designs after changes. Furthermore, the structural conformance checking of a given UML pattern-based design can be automated by using the assessment tool. An explanatory two-case study is used to evaluate the effectiveness of PICUP design method with DPUPs. Questionnaire answers and pattern defect counts from the two-case study conducted by subject matter experts support the hypothesis that the PICUP method is an improved design method ensuring structural conformance of UML pattern-based designs to the corresponding design patterns during perfective and corrective design maintenance for software systems.
منابع مشابه
Consistency Maintenance of UML Models with Description Logics
Nowadays, the prevailing methodology used to specify software designs is UML. This language consists of various types of diagrams, each one dedicated to a different design aspect. This variety of views, that overlap with respect to the information depicted in each, can leave the overall system design specification in an inconsistent state. Necessarily, some form of consistency checking must be ...
متن کاملUne architecture pour les transformations de modèles et la restructuration de modèles uml
Model engineering attempts to solve how we can evolve complex softwaresystems. Indeed, those systems must follow the evolution of new requirementsand technologies, and this evolution is faster and faster compared to thebusiness domain evolution. We thus propose to reuse the domain expertiseindependantly of any underlying technology, through model transformationtechniques. Th...
متن کاملEvolution-Centered Architectural Design Decisions Management
Software architecture is considered as a set of architectural design decisions. Managing the evolution of architectural design decisions helps to maintain consistency between requirements and the deployed system, and is also necessary for reducing architectural knowledge evaporation. In this paper, we propose a UML metamodel based on the Triple View Model from our previous research work. The UM...
متن کاملA Metamodeling Approach to Pattern-Based Model Refactoring
class implemented_by Image Display (applying the Bridge pattern) displayed_on Display ImageImpl1 Figure 1. An example of pattern-based model refactoring. ConcreteImpB ConcreteImpA Implementor RefinedAbstraction Abstraction implemented_by Figure 2. A diagram of the Bridge pattern. tion of the UML designs representing solutions of the pattern Transformation specification: a specification of probl...
متن کاملUsing Description Logic to Maintain Consistency between UML Models
A software design is often modelled as a collection of UML diagrams. There is an inherent need to preserve consistency between these diagrams. Moreover, through evolution those diagrams get modified leading to possible inconsistency between different versions of the diagrams. State-of-the-art UML CASE tools provide poor support for consistency maintenance. To solve this problem, an extension of...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Softw., Pract. Exper.
دوره 43 شماره
صفحات -
تاریخ انتشار 2013